package cn.net.gemai.springboot_eureka_client_customer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

/**
 * 开启Eureka客户端功能，注册服务
 */
@EnableDiscoveryClient
@SpringBootApplication
public class SpringbootEurekaClientCustomerApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootEurekaClientCustomerApplication.class, args);
    }

}
